package com.niit.gams.dao;


import com.niit.gams.pojo.SysResource;
import com.niit.gams.pojo.SysUser;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

public interface SysResourceMapper extends BaseMapper<SysResource> {
  List<SysResource> findResourcesInRoleId(List<Long> rids);

  //分页查询
  List<SysResource> findResourcesByPage(Integer curPage, Integer pageSize);

  int deletePidsByRid(Long rid);

  int insertPidsByRid(Long rid, List<Long> pids);
}
